package com.example.dingtalklogin.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 钉钉相关的配置信息
 * @author xuzhen97
 */
@ConfigurationProperties(prefix = "dingtalk")
@Data
@Component
public class DingtalkProperties {
    /**
     * 应用appKey
     */
    private String appKey;
    /**
     * 应用appSecret
     */
    private String appSecret;
}
